﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ChatRoomService
{
    public class Template
    {
        /*
         * 1. Create addIn
         * New-CsPersistentChatAddIn -Name  "TestAddInName" -PersistentChatPoolFqdn "management.itfirst.com" -Url  "http://sharepoint2010/hz08/pages/default.aspx"
         * 2. Create new persistent chat room with created add-in
         * New-CsPersistentChatRoom -Name "ITChatRoomName" -PersistentChatPoolFqdn "management.itfirst.com" -Category "TestChatRoom001" -AddIn TestAddInName -Privacy Secret
         * 3. Set the manager group and member group for the persistent chat room
         *  Set-CsPersistentChatRoom -Identity management.itfirst.com\ITChatRoom –Managers @{Add="CN=PCRoomManagersTOYIJZ0W,OU=PersistentChatGroup,DC=ITFirst,DC=com"}  –Members @{Add="CN=PCRoomMembersTOYIJZ0W,OU=PersistentChatGroup,DC=ITFirst,DC=com" }
         * 
         */
    }
}